package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {
    @GetMapping({"/","/index"})
    public String index()
    {
        return "index";
    }
    @GetMapping("add")
    public  String add(){return "add";}
}
